package app.modules.infrastructure.lov.persistence.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import jasmine.framework.database.mybatisplus.annotation.I18n;
import jasmine.framework.database.mybatisplus.entity.BaseI18nEntity;

/**
 * @author mh.z
 */
@TableName("sys_value_item")
public class ValueItemEO extends BaseI18nEntity {

    /** 值集ID */
    @TableField("value_set_id")
    private Long valueSetId;

    /** 代码 */
    @TableField("value_code")
    private String valueCode;

    /** 名称 */
    @I18n
    @TableField("value_name")
    private String valueName;

    /** 描述 */
    @I18n
    @TableField(value = "value_desc", updateStrategy = FieldStrategy.IGNORED)
    private String valueDesc;

    /** 显示顺序 */
    @TableField("show_order")
    private Integer showOrder;

    /** 启用标志 */
    @TableField("enable_flag")
    private Boolean enableFlag;

    /** 租户ID */
    @TableField("tenant_id")
    private Long tenantId;

    public Long getValueSetId() {
        return valueSetId;
    }

    public void setValueSetId(Long valueSetId) {
        this.valueSetId = valueSetId;
    }

    public String getValueCode() {
        return valueCode;
    }

    public void setValueCode(String valueCode) {
        this.valueCode = valueCode;
    }

    public String getValueName() {
        return valueName;
    }

    public void setValueName(String valueName) {
        this.valueName = valueName;
    }

    public String getValueDesc() {
        return valueDesc;
    }

    public void setValueDesc(String valueDesc) {
        this.valueDesc = valueDesc;
    }

    public Integer getShowOrder() {
        return showOrder;
    }

    public void setShowOrder(Integer showOrder) {
        this.showOrder = showOrder;
    }

    public Boolean getEnableFlag() {
        return enableFlag;
    }

    public void setEnableFlag(Boolean enableFlag) {
        this.enableFlag = enableFlag;
    }

    public Long getTenantId() {
        return tenantId;
    }

    public void setTenantId(Long tenantId) {
        this.tenantId = tenantId;
    }
}
